package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Member;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface MemberService {

    public void add(Member member);

    public Member findByTelephone(String telephone);

    public List<Integer> findMemberCountByMonth(List<String> month);

    Member getMyMessage(String value);

    Boolean updatePassword(Map map, String id);

    Boolean PWLogin(Map map);

    void updatePhoneNumber(Map map);

    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString) ;
    //新增会员档案
    public void addMember(Member member,Integer managerId);
//    //查询全部健康管理师
//    public List<Map<String, Object>>findManagerByRole();
    //删除会员
    public void delete(Integer id);
//    //编辑前查询当前会员绑定的健康师
//    public String findManagerByMemberId(Integer memberId);
    //根据id查询会员
    public Member findById(Integer memberId);
    //编辑会员
    public void edit(Member member);

    void updateById(Member member);
}
